Skip to content

Comments

Add comparison of manually exprparser and ours#175

Merged
kant2002 merged 1 commit intoLanguageDev:masterfrom
kant2002:kant/add-comparison
Mar 30, 2025
Merged

Add comparison of manually exprparser and ours#175
kant2002 merged 1 commit intoLanguageDev:masterfrom
kant2002:kant/add-comparison

Conversation

@kant2002
Copy link
Collaborator

Yoakke obviously produce inefficient parser, since writing manual thing appear to be much more efficient

// * Summary *

BenchmarkDotNet v0.14.0, Windows 10 (10.0.19045.5679/22H2/2022Update)
Intel Core i7-3630QM CPU 2.40GHz (Ivy Bridge), 1 CPU, 8 logical and 4 physical cores
.NET SDK 9.0.200
[Host] : .NET 8.0.14 (8.0.1425.11118), X64 RyuJIT AVX
DefaultJob : .NET 8.0.14 (8.0.1425.11118), X64 RyuJIT AVX

Method Mean Error StdDev
ExpressionParser 3,326,861.3 us 12,140.53 us 9,478.53 us
ManualExpressionParser 13,073.6 us 111.79 us 104.56 us
Lex 945.7 us 9.11 us 8.52 us

Yoakke obviously produce inefficient parser, since writing manual thing appear to be much more efficient
@kant2002 kant2002 merged commit deb3af5 into LanguageDev:master Mar 30, 2025
3 checks passed
@kant2002 kant2002 deleted the kant/add-comparison branch March 30, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant